<?php
    class WZForm_test_Book extends \Zend_Form
    {
        public function init()
        {
            $request = \WZ_Request::getInstance();
            $this->setName('bookForm');
            \WZ_Form::select($this, 'id_author', 'Auteur', true, \WZService_Test_Author::getSelect());
            \WZ_Form::input($this, 'title', 'Titre');
            \WZ_Form::input($this, 'year', 'Année');
            // \WZ_Form::captcha($this, 'captcha', 'Vérification');
            \WZ_Form::reset($this, 'reset', 'Annuler');
            \WZ_Form::factory($this, \WZ_Url::getUrl('www_index'));
        }
    }